package com.qf.ssm.mapper;


import com.qf.ssm.po.CarRent;
import com.qf.ssm.po.CustomRent;
import com.qf.ssm.qo.CarRentQo;
import com.qf.ssm.qo.CustomerQO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarRentMapper {
    Integer insertCarRentById(@Param("carRent")CarRent carRent, @Param("cid")Integer cid);

    Integer insertCustomRentByRId(@Param("customRent")CustomRent customRent,@Param("rid")Integer rid);

    CarRent selectCarRentById(@Param("cid")Integer cid);

    Integer updateCarRentById(@Param("carRent")CarRent carRent, @Param("cid")Integer cid);

    Integer updateCustomRentByCrId(@Param("customRent")CustomRent customRent,@Param("crId")Integer crId);


}
